package com.zst.dollars.entity.connection;

import com.zst.dollars.entity.Message;
import com.zst.dollars.entity.MessageType;

public class ClientDisconnectAnnounceMessage extends Message {
    private String username;

    public ClientDisconnectAnnounceMessage(String username){
        this.setMessageType(MessageType.CLIENT_DISCONNECT_ANNOUNCE.getType());
        this.username = username;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
